package edu.neu.cs6515.admin;

import lombok.AllArgsConstructor;
import lombok.Getter;
import edu.neu.cs6515.player.IPlayer;
import edu.neu.cs6515.xml.Score;

/**
 * RankingEntry represent a Player's ranking
 */
@AllArgsConstructor
public class RankingEntry {

    @Getter
    private IPlayer player;

    @Getter
    private String playersName;

    @Getter
    private Score score;

    @Getter
    private int ranking;

    @Override
    public String toString() {
        return "[" + "ranking=" + ranking + ", playersName=" + playersName
                + "]";
    }

}
